import Vue from "vue";
//导入vant组件
import {Button, Form, Field, Dialog, PullRefresh, List, Cell ,Card, Toast, Switch, NavBar, Icon} from "vant";

//对组件进行全局注册
Vue.use(Button);
Vue.use(Form);
Vue.use(Field);
Vue.use(Dialog);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Cell);
Vue.use(Card);
Vue.use(Toast);
Vue.use(Switch);
Vue.use(NavBar);
Vue.use(Icon);